This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 16, 2011, 12:31 PM
66 Posts

How can I avoid saving document in xPages somewhere in querySaveDocument code?

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags:
  • Replies: 2
 How can I avoid saving document in xPages somewhere in querySaveDocument code? I have a document datasource and simple form. There is also button that saves the document and opens the another page. How can I implement scenario when user saves the document, it runs querySaveDocument event. Here I find some issue that prevent fodocument being saved so I need to stop saving document and show document with some error message? Something like we use on standard Notes form with querySave and continue=false ? Any idea?
Aug 16, 2011, 1:46 PM
6 Posts
Re: How can I avoid saving document in xPages somewhere in querySaveDocument code?
Open your XPage, switch to the 'Properties' pane at the bottom, choose 'All Properties', navigate to
 
data - data - dominoDocument[0] - querySaveDocument
 
Enter your code here and try it :-)
 
Hth
Alex
 
Aug 18, 2011, 7:33 AM
261 Posts
Re: How can I avoid saving document in xPages somewhere in querySaveDocument code?
If you don't want the document to be saved, the code in the querySaveDocument event should return false.
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal